package com.xidian.zhiancloud.dao.syset;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.syset.UserDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户-基本设置
 */
public interface UserDetailsMapper extends BaseMapper<UserDetails> {

    List<UserDetails> getUserDetailsList(@Param("userId") String userId,
                                         @Param("companyId") Long companyId);

    int updateUserDetails(@Param("userId") String userId,@Param("param") Map<String,Object> param);

    int addUserDetails(@Param("userId") String userId,@Param("param") Map<String,Object> param);
    
}
